import store from "@/store/index.js"
import { addProductToFavorite } from "@/service/api/member.js"
const productUtil = {
    //�ղ���Ʒ
    favoriteFn: (param) => {
        return new Promise((resolve, reject) => {
            addProductToFavorite(param).then((res) => {
                resolve(res.Msg)
            })
        })
    },
}
module.exports = {
    favoriteFn: productUtil.favoriteFn,
}
